var express  = require('express');

var postsRouter = require('./api/posts');
var usersRouter = require('./api/users');

var router = express.Router();

router.get('/posts',postsRouter.index);

router.post('/posts/create',postsRouter.create);

router.get('/users',usersRouter.index);


module.exports = router;